# 基础镜像使用Nginx
 FROM nginx
# # 作者
 MAINTAINER ***
# # 添加时区环境变量，亚洲，上海
 ENV TimeZone=Asia/Shanghai

# # 将前端dist文件中的内容复制到镜像/usr/share/nginx/html/目录下
 COPY ./dist/  /usr/share/nginx/html/
#将default.conf复制到/etc/nginx/conf.d/下，用本地的default.conf配置来替换nginx镜像里的默认配置
 COPY default.conf /etc/nginx/conf.d/
#  COPY jchb.hongliancloud.com.key /opt/jchb.hongliancloud.com.key
#  COPY jchb.hongliancloud.com_bundle.pem /opt/jchb.hongliancloud.com_bundle.pem
# # 暴露端口
 EXPOSE 80
 EXPOSE 443